using System.Linq;
using YogaStudio.Data.Domain;

namespace YogaStudio.Service.BLL
{
    public interface ICategoryService
    {
        IQueryable<Category> GetAllCategories();
        Category GetCategoryById(int? categoryId);
        void AddCategory(Category category);
        void UpdateCategory(Category category);
        void DeleteCategory(Category category);
        void Dispose(bool disposing);
    }
}